<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>L2LB: Referência à estrutura hash_table</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gerado por Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li><a href="files.html"><span>Ficheiros</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li><a href="functions.html"><span>Campos&nbsp;de&nbsp;dados</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência à estrutura hash_table</h1><!-- doxytag: class="hash_table" --><code>#include &lt;<a class="el" href="hash__table_8h-source.html">hash_table.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Campos de Dados</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structhash__entry.html">hash_entry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhash__table.html#8d603d6d232203d2e491b58c9c6dabc5">table</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhash__table.html#4678419b52c36e8b949b17eb4843a420">buckets</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_mutex_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhash__table.html#75f86a63f6a0efb451750126133cdddc">bucket_locks</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_mutex_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhash__table.html#f4cefababf047c699eca5f45f8d4284e">lock</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="hash__table_8h.html#3d5ec14056d7480c722de378cf762198">keycmp_ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhash__table.html#9465a319f391f0a50a4a84362c40fe48">keycmp</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhash__table.html#77da69e21124ac1097627ae23ae72ef5">__ht_i</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structlist__head.html">list_head</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhash__table.html#f971de29e1c0b18ae5dede92ac65645d">pos</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Descrição detalhada</h2>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00029">29</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>
<hr><h2>Documentação dos campos e atributos</h2>
<a class="anchor" name="8d603d6d232203d2e491b58c9c6dabc5"></a><!-- doxytag: member="hash_table::table" ref="8d603d6d232203d2e491b58c9c6dabc5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structhash__entry.html">hash_entry</a>* <a class="el" href="structhash__table.html#8d603d6d232203d2e491b58c9c6dabc5">hash_table::table</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00030">30</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>

<p>Referenciado por <a class="el" href="hash__table_8h-source.html#l00158">hash_table_finit()</a>, <a class="el" href="hash__table_8h-source.html#l00126">hash_table_init()</a>, <a class="el" href="hash__table_8h-source.html#l00171">hash_table_insert()</a>, <a class="el" href="hash__table_8h-source.html#l00189">hash_table_insert_safe()</a>, <a class="el" href="hash__table_8h-source.html#l00213">hash_table_lookup_key()</a> e <a class="el" href="hash__table_8h-source.html#l00241">hash_table_lookup_key_safe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4678419b52c36e8b949b17eb4843a420"></a><!-- doxytag: member="hash_table::buckets" ref="4678419b52c36e8b949b17eb4843a420" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="structhash__table.html#4678419b52c36e8b949b17eb4843a420">hash_table::buckets</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00032">32</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>

<p>Referenciado por <a class="el" href="hash__table_8h-source.html#l00158">hash_table_finit()</a>, <a class="el" href="hash__table_8h-source.html#l00085">hash_table_hash_code()</a>, <a class="el" href="hash__table_8h-source.html#l00092">hash_table_hash_code_safe()</a> e <a class="el" href="hash__table_8h-source.html#l00126">hash_table_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="75f86a63f6a0efb451750126133cdddc"></a><!-- doxytag: member="hash_table::bucket_locks" ref="75f86a63f6a0efb451750126133cdddc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pthread_mutex_t* <a class="el" href="structhash__table.html#75f86a63f6a0efb451750126133cdddc">hash_table::bucket_locks</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00033">33</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>

<p>Referenciado por <a class="el" href="hash__table_8h-source.html#l00043">hash_table_bucket_lock()</a>, <a class="el" href="hash__table_8h-source.html#l00048">hash_table_bucket_unlock()</a> e <a class="el" href="hash__table_8h-source.html#l00126">hash_table_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f4cefababf047c699eca5f45f8d4284e"></a><!-- doxytag: member="hash_table::lock" ref="f4cefababf047c699eca5f45f8d4284e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pthread_mutex_t <a class="el" href="structhash__table.html#f4cefababf047c699eca5f45f8d4284e">hash_table::lock</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00035">35</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>

<p>Referenciado por <a class="el" href="hash__table_8h-source.html#l00126">hash_table_init()</a>, <a class="el" href="hash__table_8h-source.html#l00053">hash_table_lock()</a> e <a class="el" href="hash__table_8h-source.html#l00058">hash_table_unlock()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9465a319f391f0a50a4a84362c40fe48"></a><!-- doxytag: member="hash_table::keycmp" ref="9465a319f391f0a50a4a84362c40fe48" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="hash__table_8h.html#3d5ec14056d7480c722de378cf762198">keycmp_ptr</a> <a class="el" href="structhash__table.html#9465a319f391f0a50a4a84362c40fe48">hash_table::keycmp</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00036">36</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>

<p>Referenciado por <a class="el" href="hash__table_8h-source.html#l00126">hash_table_init()</a> e <a class="el" href="hash__table_8h-source.html#l00213">hash_table_lookup_key()</a>.</p>

</div>
</div><p>
<a class="anchor" name="77da69e21124ac1097627ae23ae72ef5"></a><!-- doxytag: member="hash_table::__ht_i" ref="77da69e21124ac1097627ae23ae72ef5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="structhash__table.html#77da69e21124ac1097627ae23ae72ef5">hash_table::__ht_i</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00039">39</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f971de29e1c0b18ae5dede92ac65645d"></a><!-- doxytag: member="hash_table::pos" ref="f971de29e1c0b18ae5dede92ac65645d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structlist__head.html">list_head</a>* <a class="el" href="structhash__table.html#f971de29e1c0b18ae5dede92ac65645d">hash_table::pos</a><code> [read]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="hash__table_8h-source.html#l00040">40</a> do ficheiro <a class="el" href="hash__table_8h-source.html">hash_table.h</a>.</p>

</div>
</div><p>
<hr>A documentação para esta estrutura foi gerada a partir do seguinte ficheiro:<ul>
<li><a class="el" href="hash__table_8h-source.html">hash_table.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Gerado em Wed Sep 10 22:06:27 2008 para L2LB por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
